package com.demo.boss.models.request;

import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class ProductRequest {
    @NotNull(message = "产品编号不能为空")
    private String code;
    @NotNull(message = "产品名不能为空")
    private String name;
}
